<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Home Page</title>
</head>
<body>
 <form action="MainController" method="post">
 <table>
 	<tr>
 	<td>Bean Name</td>
 	<td><select name="bean">
 			<c:forEach items="${classes}" var="clazz">
 					<option value='<c:out value="${clazz.simpleName}" />'><c:out value="${clazz.simpleName}" /></option>
 			</c:forEach>
 	</select></td>
 	</tr>
			<tr>
				<td>View Type</td>
				<td><select name="viewtype">
						<option value="entry">Enter New Record</option>
						<option value="view">View All Records</option>
				</select></td>
			</tr>
			<tr>
				<td></td>
				<td align="right"><input type="submit" value="Submit"></td>
			</tr>
		</table>
 </form>
</body>
</html>